#-*- coding:utf-8 -*-
from VideoCapture import Device
import time
def getCaptrue():
    cam = Device(devnum=0, showVideoWindow=0)
    ISOTIMEFORMAT='%Y%m%d%H%M%S'
    ct = time.strftime( ISOTIMEFORMAT, time.localtime( time.time() ))+'.jpg'
    cam.saveSnapshot(ct, timestamp=3, boldfont=1, quality=75)
    return ct